package Modelo;

import VO.VOMensaje;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Vector;

public interface IServidor extends Remote {
    int login(ICliente c, int p, String user) throws RemoteException;
    int enviar(VOMensaje m) throws RemoteException;
    int pidePuerto() throws RemoteException;
    Vector getUserContectados() throws RemoteException;
    int logout(String user) throws RemoteException;
}
